

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Gao zhao xu
 * Date: 2023-09-12
 * Time: 15:23
 */
public class test {
    public static void main(String[] args) {
        SeqList seqList = new SeqList();
        System.out.println("=====================");
        seqList.add(2);
        seqList.display();
        System.out.println("=====================");
        seqList.set(0,1);
        seqList.display();
        System.out.println("=====================");
        seqList.add(1,2);
        seqList.display();
        System.out.println("=====================");
        seqList.remove(1);
        seqList.display();
        System.out.println("=====================");
        System.out.println(seqList.contains(1));
        System.out.println(seqList.contains(2));
        System.out.println("=====================");
        System.out.println(seqList.indexOf(1));
        System.out.println("=====================");
        System.out.println(seqList.get(0));
        System.out.println("=====================");
        System.out.println(seqList.size());
        System.out.println("=====================");
        seqList.clear();
        seqList.display();
        System.out.println("没东西哦~~~~");
        System.out.println("=====================");
    }
}
